STEP 10: Now let's call the function! Make sure the call goes OUTSIDE the function!

To call a function, you need to use the function name followed by an empty set of parentheses ().

  • Go to and drag out Function Call.
  • Change the name in the function call to battle_scene.
  • Click Run to see your function on the stage.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)